package com.reading.controller.book;

import com.reading.controller.BaseController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author guwenqi_1995@163.com
 * @date 2019/7/8 5:28 PM
 **/
@Slf4j
@Controller
public class IndexController extends BaseController {


    /**
     * 首页
     */
    @GetMapping({"/index", "/", ""})
    public String index(Model model) {

        return "index";
    }



}
